Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform.default.config.document support #8006

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

mandy-chessell
Copy link
Contributor

Description

This pull request adds support for a new application.properties variable called platform.default.config.document which allows a default configuration document to be specified.

There are also REST API calls to set, retrieve and delete this default configuration document.

When it is set, all new servers that are configured will start with the default configuration document.

Related Issue(s)

None

Testing

Worked with configuration from multiple servers, trying different defaults, set with application.properties and REST API.

Release Notes & Documentation

Updates to docs are here:

https://egeria-project.org/guides/admin/configuring-the-omag-server-platform/#configuring-the-default-configuration-document

Additional notes

This PR also cleaned up the EventBusConfig bean to remove deprecated additionalProperties methods and simplified the ConnectorTypes added to the configuration documents.

@mandy-chessell mandy-chessell merged commit 4281eb8 into odpi:main Jan 18, 2024
4 checks passed
* @return File object
* @throws FileException problem accessing the file
*/
public File getFile() throws FileException

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
BasicFileStore.getFile
; it is advisable to add an Override annotation.
/**
* Return the Java File object that provides access to the file.
*
* @param methodName, calling method

Check notice

Code scanning / CodeQL

Spurious Javadoc @param tags Note

@param tag "methodName," does not match any actual parameter of method "getFile()".
* Close the file
*/
@Override
public void disconnect()

Check warning

Code scanning / CodeQL

Non-synchronized override of synchronized method Warning

Method 'disconnect' overrides a synchronized method in
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
but is not synchronized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant